cmake_minimum_required(VERSION 3.29)
project(gl_course)

set(CMAKE_CXX_STANDARD 20)
add_executable(gl_course main.cpp src/glad.c
        course/chapter1/triangles.cpp
        include/tools/ShaderLoader.cpp
        include/tools/structs/shader_program.h)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)
link_directories(${PROJECT_SOURCE_DIR}/lib)
target_link_libraries(gl_course ${PROJECT_SOURCE_DIR}/lib/glfw3.dll)

